import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 待销毁旧件列表查询
export const getPreDestoryListByPage = params => axios.post(`${SERVER.CLAIMFAC}/rPCmsClaim/getPreDestoryListByPage`,  params );

//导出
export const getListForExport = (params) => axios.post(`${SERVER.CLAIMFAC}/rPCmsClaim/getToBeDestroyedExport`, params, {
  responseType: 'blob'
});

// 删除客户订单(物理删除)
// export const deleteOrders = params => axios.post(`${SERVER.CYXDMS_RETAIL}/ordermanage/customerOrders/delete`, { params });
  //下载中心导出
  export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);

